.class Ldgb/s$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Ldgb/s;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ldgb/s;


# direct methods
.method constructor <init>(Ldgb/s;)V
    .locals 0

    .line 1
    iput-object p1, p0, Ldgb/s$a;->a:Ldgb/s;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .line 1
    sget-boolean v0, Ldgb/z;->b:Z

    const-string v1, "stat.HwInfoService"

    if-eqz v0, :cond_0

    const-string v0, "Enter in UpdatePreferenceJob!"

    .line 2
    invoke-static {v1, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 3
    :cond_0
    :try_start_0
    iget-object v0, p0, Ldgb/s$a;->a:Ldgb/s;

    invoke-static {v0}, Ldgb/s;->a(Ldgb/s;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Ldgb/j4;->m(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    .line 4
    iget-object v2, p0, Ldgb/s$a;->a:Ldgb/s;

    invoke-static {v2}, Ldgb/s;->b(Ldgb/s;)I

    move-result v2

    const/16 v3, 0xa

    if-ge v2, v3, :cond_2

    if-eqz v0, :cond_2

    .line 5
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_2

    .line 6
    iget-object v0, p0, Ldgb/s$a;->a:Ldgb/s;

    invoke-static {v0}, Ldgb/s;->c(Ldgb/s;)I

    .line 7
    sget-boolean v0, Ldgb/z;->c:Z

    if-eqz v0, :cond_1

    .line 8
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Retry to update the hw infos for the "

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Ldgb/s$a;->a:Ldgb/s;

    invoke-static {v2}, Ldgb/s;->b(Ldgb/s;)I

    move-result v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, "st time."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    :cond_1
    const-wide/16 v2, 0x1388

    .line 9
    invoke-static {p0, v2, v3}, Ldgb/b0;->a(Ljava/lang/Runnable;J)Z

    goto :goto_0

    .line 10
    :cond_2
    iget-object v0, p0, Ldgb/s$a;->a:Ldgb/s;

    invoke-static {v0}, Ldgb/s;->d(Ldgb/s;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 11
    sget-boolean v2, Ldgb/z;->d:Z

    if-eqz v2, :cond_3

    const-string v2, "Failed update the hw infos."

    .line 12
    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    :cond_3
    :goto_0
    return-void
.end method
